﻿using CloudStorageLight.DesktopTool.Properties;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace CloudStorageLight.DesktopTool
{
    /// <summary>
    /// App.xaml の相互作用ロジック
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var vm = new MainVM();
            vm.SelectedFolder = Settings.Default.MainSelectedFolder;
            vm.CurrentPath = Settings.Default.MainCurrentPath;
            vm.RootUrl = Settings.Default.MainRootUrl;
            vm.LoginUser = Settings.Default.MainLoginUser;
            vm.LoginPassword = Settings.Default.MainLoginPassword;
            ViewMaker.ViewUtil.Show(vm);
        }
    }
}
